package com.ftg.springbase;

/**
 * @author 布衣
 */
public class A2 {

//    @ValueForMe(value="男")
    private String sex;

//    @ValueForMe(value = "123")
    private int age;

    @ValueForMe(ref = A1.class)
    private A1 a1;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void run(){
        System.out.println("a2 run");
    }

}
